package com.eastmoney.emis.edda.infrastructure.hsbc.dto;

import com.eastmoney.emis.edda.infrastructure.hsbc.annotation.HsbcEncrypt;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.infrastructure.dto
 * @author: 汪程程
 * @date: 2022/9/27 1:54 PM
 * @version: 1.0
 */
@HsbcEncrypt
public class OTPRegenerationReq {

    /**
     * DDA Reference No.
     * Note: This is HSBC assigned unique reference number for the DDA.
     */
    public String MandateIdentification;
    public AccountDto CreditorAccount;
    /**
     * User preferred language. This language will be used in SMS for communication
     */
    public String SmsLanguageCode = "eng";

    public OTPRegenerationReq() {
    }

    public OTPRegenerationReq(String mandateIdentification, String smsLanguageCode, AccountDto accountDto) {
        this.MandateIdentification = mandateIdentification;
        this.SmsLanguageCode = smsLanguageCode;
        this.CreditorAccount = accountDto;
    }
}
